{% include "head.twig" %}
{% include "header.twig" %}
{{ cart|raw }}
<link rel="stylesheet" href="/css/show_tovar.css" type="text/css" />
<div id = "tovar_details">
    <table class = "tovar_details_main">
        <tr>    <td>
            <div id = "tovar_images">
                <img id="img_tovar_details" alt="{{ tovar["Name"] }}" src="/myfile/{{ tovar["Image"] }}">
            </div>
                </td>
                <td class = "tovar_details_right">
            <div class = "tovar_main_info">
                <div id="name_tovar"><p>{{ tovar["Name"] }}</p></div>
                <div id="categoria_tovar"><p>{{ tovar['categoria'] }}</p></div>
                <div id="color_tovar"><p>Цвет: {{ tovar['color']|raw}}</p></div>
                <div id="mini_data_tovar">{{ tovar['mini_data']|raw }}</div>
                <div id="price_tovar_details"> <img alt="price" src="/img/price_tovar.png"><p>{{ tovar["Price"]}} <span class="grn">грн</span></p></div>

                <form method="POST" action="/cart.php">
                    <input type="text" value="{{ tovar["id"]}} " name = "id_tovar_cart" style="display: none;">
                    <input class = "cart_buy_submit" type = "submit" name="cart_button" value="Купить" >
                </form>

            </div>
                </td>
        </tr>
    </table>
    <div id=tovar_data>
        {{ tovar["Data"]|raw}}
    </div>
    </div>



</body>
</html>